#ifndef UNICODE_H_
#define UNICODE_H_

#include <nds.h>
#include <vector>

class Unicode
{
	public:
		static void utf8decode(unsigned char* chr, unsigned int len, std::vector<u32>* uni);
		static void utf8tou64(unsigned char* chr, u64* uni, u8 c);

	private:
		static void utf8long(unsigned char* chr, unsigned int* i, u32* uni, unsigned char c);
};

#endif /* UNICODE_H_ */
